package com.landinfo.service.mapper;

import com.landinfo.domain.DashboardConfiguration;
import com.landinfo.service.dto.DashboardConfigDTO;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity DashboardConfiguration and its DTO DashboardConfigDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface DashboardConfigMapper extends EntityMapper<DashboardConfigDTO, DashboardConfiguration> {



    default DashboardConfiguration fromId(String id) {
        if (id == null) {
            return null;
        }
        DashboardConfiguration dashboardConfiguration = new DashboardConfiguration();
        dashboardConfiguration.setId(id);
        return dashboardConfiguration;
    }
}
